<?php
session_start();
date_default_timezone_set("Asia/Chongqing");
include("../config/connect.php");
require_once("../public/common.php");
require_once("../public/biaoqing.php");

if( !HasLogin() ) 
{
	$url = "Location:login.php?ref=index.php";
	header($url);
}

$email = $_SESSION["email"];
$userid = $_SESSION["userid"];
$nickname = $_SESSION["nickname"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?PHP echo $nickname; ?>家的宝贝 - 兔丝街</title>
<link type="text/css" rel="stylesheet" href="../css/base.css" />
<link type="text/css" rel="stylesheet" href="../css/person.css" />
</head>
<body class="bGerenxx">
<div id="wrapper">
<!---head kaishi--->
     <?php
		include("../headtop.php"); 
	?>
<!-----head 结束----->
    <div id="main" class="person">
    	<!---左侧开始--->
    	<div class="grid_3">
        	<div class="person_left">
            	<div class="person_info">
                    <!--侧栏导航 开始-->
                    <?php
						include("sidebarnav.php"); 
					?>
                    <!--侧栏导航 结束--->
                </div>
            	
            </div>
        </div>
 
         <!---右侧--->
      	<div class="grid_9"> 
        	<div id="editGoods">
            <div class="edit_left Personal">
                <div class="Per">
                	<ul>

                		<li><a href="edit.php">我的资料</a></li>
                        <li class="as"><a href="avatar_edit.php">上传/编辑头像</a></li>
                        <li><a href="reset_paw.php">修改密码</a></li>
                    </ul>
                </div>
                <!-----上传头像开始-------->
                	<?php
						include("avatar.php"); 
					?>
                <!-------上传头像结束------>
            </div>

        	</div>          
        </div>
    </div>
</div>
<!---网尾 kaishi--->
 <?php
     include("../networkend.php"); 
?>
<!------------>
</body>
</html>